package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 精益运营-巡检记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_operator_work_inspection")
@ApiModel(value = "ErpOperatorWorkInspection对象", description = "精益运营-巡检记录")
public class ErpOperatorWorkInspection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("单号 WI-雪花")
    private String workNo;

    @ApiModelProperty("运营区ID")
    private Integer operateId;

    @ApiModelProperty("客户ID")
    private Integer companyId;

    @ApiModelProperty("经度")
    private BigDecimal lng;

    @ApiModelProperty("纬度")
    private BigDecimal lat;

    @ApiModelProperty("具体地址（不包含省市区）")
    private String address;

    @ApiModelProperty("站点照片")
    private String stationPhoto;

    @ApiModelProperty("站点照片数量")
    private Integer stationPhotoAmount;

    @ApiModelProperty("车辆照片")
    private String bikePhoto;

    @ApiModelProperty("车辆照片数量")
    private Integer bikePhotoAmount;

    @ApiModelProperty("评审状态1-未评审 2-评审通过 3-评审不通过 4-待重审")
    private Integer reviewStatus;

    @ApiModelProperty("评审次数")
    private Integer reviewTimes;

    @ApiModelProperty("最后评审ID")
    private Integer lastReviewId;

    @ApiModelProperty("提交人ID")
    private Integer createUser;

    @ApiModelProperty("提交人姓名")
    private String createName;

    @ApiModelProperty("是否删除")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
